package com.javase.SY04;

public class MyRectangleMain {
    public static void main(String[] args) {
        MyRectangle m = new MyRectangle(5, 5, 20, 20);
        int height = m.getH();
        int width = m.getW();
        int area = m.area();
        System.out.println("高：" + height);
        System.out.println("宽：" + width);
        System.out.println("面积：" + area);
    }
}
